package com.ai.entity.alarm;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiaok
 * @since 2023-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("signal_record")
@ApiModel(value="SignalRecord对象", description="")
public class SignalRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "板坯号")
    private String planNo;

    @ApiModelProperty(value = "炉门编号")
    private String doorNum;

    @ApiModelProperty(value = "信号来源")
    private String signalResource;

    @ApiModelProperty(value = "功能代号")
    private String funType;

    @ApiModelProperty(value = "信号接收时间")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "信号指令状态")
    private String funStatus;

    @ApiModelProperty(value = "端口")
    private Integer sourcePort;

    @ApiModelProperty("netty客户端code")
    private String nettyCode;

}
